Optimal. Leaf size=34 \[ \frac{(b B-A c) \log \left (b+c x^2\right )}{2 b c}+\frac{A \log (x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0407605, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {1584, 446, 72} \[ \frac{(b B-A c) \log \left (b+c x^2\right )}{2 b c}+\frac{A \log (x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 446
Rule 72
Rubi steps
\begin{align*} \int \frac{x \left (A+B x^2\right )}{b x^2+c x^4} \, dx &=\int \frac{A+B x^2}{x \left (b+c x^2\right )} \, dx\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{A+B x}{x (b+c x)} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (\frac{A}{b x}+\frac{b B-A c}{b (b+c x)}\right ) \, dx,x,x^2\right )\\ &=\frac{A \log (x)}{b}+\frac{(b B-A c) \log \left (b+c x^2\right )}{2 b c}\\ \end{align*}
Mathematica [A] time = 0.0118481, size = 34, normalized size = 1. \[ \frac{(b B-A c) \log \left (b+c x^2\right )}{2 b c}+\frac{A \log (x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 37, normalized size = 1.1 \begin{align*}{\frac{A\ln \left ( x \right ) }{b}}-{\frac{\ln \left ( c{x}^{2}+b \right ) A}{2\,b}}+{\frac{\ln \left ( c{x}^{2}+b \right ) B}{2\,c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.2096, size = 47, normalized size = 1.38 \begin{align*} \frac{A \log \left (x^{2}\right )}{2 \, b} + \frac{{\left (B b - A c\right )} \log \left (c x^{2} + b\right )}{2 \, b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.772343, size = 74, normalized size = 2.18 \begin{align*} \frac{2 \, A c \log \left (x\right ) +{\left (B b - A c\right )} \log \left (c x^{2} + b\right )}{2 \, b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.65411, size = 26, normalized size = 0.76 \begin{align*} \frac{A \log{\left (x \right )}}{b} + \frac{\left (- A c + B b\right ) \log{\left (\frac{b}{c} + x^{2} \right )}}{2 b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25781, size = 46, normalized size = 1.35 \begin{align*} \frac{A \log \left ({\left | x \right |}\right )}{b} + \frac{{\left (B b - A c\right )} \log \left ({\left | c x^{2} + b \right |}\right )}{2 \, b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]